package Nisha.innerclass;

public class StaticInnerClass {
	
	private static String name = "Nisha";

	static class InnerClass
	{
		public void sayHello()
		{
			System.out.println("Hello from static inner class "+name); //only static variable would be available here
		}
	}
	public static void main(String[] args) {
		//InnerClass innerclass = new InnerClass();
		
		StaticInnerClass.InnerClass sic = new  StaticInnerClass.InnerClass();
		sic.sayHello();
		
	}
}
